<div class="invoice p-1 mb-3">
    <div class="row invoice-info">
        <div class="col-sm-6 invoice-col mt-1">
            <b>订单编号：</b> {{ $order_info -> order_sn }}
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>设备编号：</b> {{$order_info -> machine -> machine_name}}（{{ $order_info -> machine -> machine_no }}）
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>付款用户：</b> {{$order_info -> user -> name}}（{{ $order_info -> user -> mobile }}）
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>支付状态：</b>
            <span class="info-box-icon {{$order_info->is_pay == 1 ? "text-success" : "text-danger"}}">
                {{ $order_info->order_state_desc }}
            </span>
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>订单状态：</b>
            <span class="info-box-icon {{$order_info->is_warning == 1 ? "text-danger" : "text-success"}}">
                {{ $order_info->is_warning == 1 ? $order_info -> warning_desc : '正常' }}
            </span>
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>订单金额：</b> ¥ {{ $order_info -> order_amount }}
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>下单时间：</b> {{ $order_info -> created_at }}
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>退款金额：</b> ¥ {{ $order_info -> refund_amount }}
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>支付时间：</b> {{ $order_info -> payment_at }}
        </div>
        <div class="col-sm-6 invoice-col mt-1">
            <b>实付金额：</b> ¥ {{ $order_info -> pay_amount }}
        </div>
    </div>
</div>
